package com.wish.group05.base.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.github.pagehelper.PageInfo;
import com.wish.group05.base.entity.CwPaymentPlan;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PaymentPlanVo {

    //支出金额总计
    private BigDecimal allPaySum;
    //维数公寓平台合计（暂无）
    private BigDecimal hlFriendSum = BigDecimal.ZERO;
    //支付宝平台总和
    private BigDecimal zfbSum;
    //微信平台总和
    private BigDecimal wxSum;
    //现金合计
    private BigDecimal xjSum;
    //pos机合计
    private BigDecimal posSum;
    //银行转账合计
    private BigDecimal yhzzSum;
    //快捷通
    private BigDecimal kjtSum;
    //其他合计
    private BigDecimal otherSum;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dealDate;

    /**
     * 收款计划集合
     */
    private PageInfo<CwPaymentPlan> pg;
}
